﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GTServices.Entities;
using Caliburn.Micro;
using System.Windows.Data;

using GTServices.WPF.Client.Interfaces;


namespace GTServices.WPF.Client.ViewModels.Entities
{
    public class FileExtensionViewModel : PropertyChangedBase, IEntityViewModel
    {
        private FileExtension _fileExtension;
        public FileExtension FileExtension { 
            get { return _fileExtension; } 
            set { this._fileExtension = value; 
                  NotifyOfPropertyChange(() => FileExtension); 
            } 
        }

       

        public ListCollectionView _subLanguages;
        public ListCollectionView SubLanguages { 
                get { return _subLanguages; } 
                set { _subLanguages = value;
                      NotifyOfPropertyChange(() => SubLanguages); 
                } 
        }
        public Object Model
        {
            get { return FileExtension; }
            set
            {
                if (value is FileExtension)
                    FileExtension = value as FileExtension;
            }
        }


        public FileExtensionViewModel()
        {
     
        }
    }
}
